package com.jxgk.application.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class User {

    private  Integer uid  ;
    private  String uname ;
    private  String pass  ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date  ;
    private  Integer rid;

    public User() {
    }

    public User(Integer uid, String uname, String pass, Date date, Integer rid) {
        this.uid = uid;
        this.uname = uname;
        this.pass = pass;
        this.date = date;
        this.rid = rid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }
}
